import request from '@/utils/request'
//添加协议地址表
export function sysAgreement_add(data) {
return request({
url: '/api/sysAgreement/add',
method: 'post',
data
})
}
//修改协议地址表
export function sysAgreement_update(data) {
return request({
url: '/api/sysAgreement/update',
method: 'post',
data
})
}
//删除协议地址表
export function sysAgreement_delete(data) {
return request({
url: '/api/sysAgreement/delete/' + data.id,
method: 'post',
data
})
}
//协议地址表详情
export function sysAgreement_info(param) {
return request({
url: '/api/sysAgreement/info/' + param.id,
method: 'get',
param
})
}
//协议地址表分页列表
export function sysAgreement_getPageList(data) {
return request({
url: '/api/sysAgreement/getPageList',
method: 'post',
data
})
}
